package com.raymond.mapper.settlement;

import com.raymond.entity.settlement.OrderSettlementDetailEntity;
import com.raymond.entity.settlement.OrderSettlementDetailPageQueryReqVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * desc-结算单明细 数据层
 *
 * @author houmenghe
 * @date 2025/4/21 21:34
 **/
@Repository
public interface OrderSettlementDetailMapper {

    List<OrderSettlementDetailEntity> searchOrderSettlementDetailListBySettlementSysNo(Long orderSettlementSysNo);

    List<OrderSettlementDetailEntity> searchSettlementDetailPageList(OrderSettlementDetailPageQueryReqVo query);

    int searchSettlementDetailPageListCount(OrderSettlementDetailPageQueryReqVo query);

    int batchInsertOrderSettlementDetail(List<OrderSettlementDetailEntity> list);

    int batchDeleteOrderSettlementDetail(List<OrderSettlementDetailEntity> list);

}
